package com.wondersgroup.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class Person  implements  Cloneable{

    private String id;
    private String openId;
    private String xm;
    private String xb;
    private String zjlx;
    private String zjhm;
    private String sjhm;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date zcsj;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date xgsj;
    private String yxbz;


  public String getId() {
    return id;
  }

  public void setId(String id) {
    this.id = id;
  }

  public String getOpenId() {
    return openId;
  }

  public void setOpenId(String openId) {
    this.openId = openId;
  }

  public String getXm() {
    return xm;
  }

  public void setXm(String xm) {
    this.xm = xm;
  }

  public String getXb() {
    return xb;
  }

  public void setXb(String xb) {
    this.xb = xb;
  }

  public String getZjlx() {
    return zjlx;
  }

  public void setZjlx(String zjlx) {
    this.zjlx = zjlx;
  }

  public String getZjhm() {
    return zjhm;
  }

  public void setZjhm(String zjhm) {
    this.zjhm = zjhm;
  }

  public String getSjhm() {
    return sjhm;
  }

  public void setSjhm(String sjhm) {
    this.sjhm = sjhm;
  }

  public Date getZcsj() {
    return zcsj;
  }

  public void setZcsj(Date zcsj) {
    this.zcsj = zcsj;
  }

  public Date getXgsj() {
    return xgsj;
  }

  public void setXgsj(Date xgsj) {
    this.xgsj = xgsj;
  }

  public String getYxbz() {
    return yxbz;
  }

  public void setYxbz(String yxbz) {
    this.yxbz = yxbz;
  }

  public Person(String id, String openId, String xm, String xb, String zjlx, String zjhm, String sjhm, Date zcsj, Date xgsj, String yxbz) {
    this.id = id;
    this.openId = openId;
    this.xm = xm;
    this.xb = xb;
    this.zjlx = zjlx;
    this.zjhm = zjhm;
    this.sjhm = sjhm;
    this.zcsj = zcsj;
    this.xgsj = xgsj;
    this.yxbz = yxbz;
  }

  public Person() {

  }

  @Override
  public String toString() {
    return "Person{" +
      "id='" + id + '\'' +
      ", openId='" + openId + '\'' +
      ", xm='" + xm + '\'' +
      ", xb='" + xb + '\'' +
      ", zjlx='" + zjlx + '\'' +
      ", zjhm='" + zjhm + '\'' +
      ", sjhm='" + sjhm + '\'' +
      ", zcsj=" + zcsj +
      ", xgsj=" + xgsj +
      ", yxbz='" + yxbz + '\'' +
      '}';
  }
}
